package com.cow.util;
/** 
* @author 光环and鬼泣
* @version 2018年6月8日 上午9:22:15
*/

import java.util.List;

import com.cow.pojo.OrderGood;
import com.cow.pojo.Orders;
import com.cow.pojo.UserAddress;

public class OrderUtilBean {

	private String orderId;

	private String addressId;

	private String userId;

	private String orderState;

	private String courierNumber;

	private String orderTotalprice;

	private String orderNotes;

	private String orderAddtime;

	private List<OrderGood> orderGoodList;

	private UserAddress userAddress;

	public OrderUtilBean(Orders order) {
		this.addressId = order.getAddressId();
		this.courierNumber = order.getCourierNumber();
		this.orderAddtime = order.getOrderAddtime();
		this.orderId = order.getOrderId();
		this.orderNotes = order.getOrderNotes();
		this.orderState = order.getOrderState();
		this.orderTotalprice = order.getOrderTotalprice();
		this.userId = order.getUserId();
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getAddressId() {
		return addressId;
	}

	public void setAddressId(String addressId) {
		this.addressId = addressId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getOrderState() {
		return orderState;
	}

	public void setOrderState(String orderState) {
		this.orderState = orderState;
	}

	public String getCourierNumber() {
		return courierNumber;
	}

	public void setCourierNumber(String courierNumber) {
		this.courierNumber = courierNumber;
	}

	public String getOrderTotalprice() {
		return orderTotalprice;
	}

	public void setOrderTotalprice(String orderTotalprice) {
		this.orderTotalprice = orderTotalprice;
	}

	public String getOrderNotes() {
		return orderNotes;
	}

	public void setOrderNotes(String orderNotes) {
		this.orderNotes = orderNotes;
	}

	public String getOrderAddtime() {
		return orderAddtime;
	}

	public void setOrderAddtime(String orderAddtime) {
		this.orderAddtime = orderAddtime;
	}

	public List<OrderGood> getOrderGoodList() {
		return orderGoodList;
	}

	public void setOrderGoodList(List<OrderGood> orderGoodList) {
		this.orderGoodList = orderGoodList;
	}

	public UserAddress getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(UserAddress userAddress) {
		this.userAddress = userAddress;
	}

}
